#include <stddef.h>

void *solve(size_t n, void* x, void * a, void* b, void* z);


#include <stdio.h>
#include <time.h>
int main()
{
	char x[128];
       short int z[128], a[128], b[128];
       int n=29;
	for(short int i = 0; i < n; i ++)
	{
		a[i] = 1;
		b[i] = 2;
	//	if(i < n / 2) x[i] = a[i];
	//	else x[i] = b[i];
		x[i] = rand() % 10;
	}	


	solve(n, x, a, b, z);
	for(int i = 0 ;i < n; i++) printf("%02d ", a[i]);
	puts("");
	for(int i = 0; i < n; i ++) printf("%02d ", b[i]);
	puts("");
	for(int i = 0; i <n ; i ++) printf("%02d ", x[i]);
	puts("");
	for(int i = 0; i < n; i ++) printf("%02d ", z[i]);

	printf("\n");
	return 0;
}
